import Vue from 'vue'
import Router from 'vue-router'
import eChartBarLine from '@/components/echarts-bar-line'
import eChartPie from '@/components/echarts-pie'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'eChartBarLine',
      component: eChartBarLine
    },
    {
      path: '/echartPie',
      name: 'eChartPie',
      component: eChartPie
    }
  ]
})
